package com.example.extra.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 视屏表
 * </p>
 *
 * @author zhangjq
 * @since 2025-09-15
 */
@Getter
@Setter
@ToString
@TableName("sys_type_video")
@Schema(name = "SysTypeVideo", description = "视屏表")
public class SysTypeVideo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Schema(description = "主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 类型
     */
    @Schema(description = "类型")
    private String type;

    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 地址
     */
    @Schema(description = "地址")
    private String path;

    /**
     * 大小,精确到字节
     */
    @Schema(description = "大小,精确到字节")
    private Long size;

    /**
     * 时长
     */
    @Schema(description = "时长")
    private Long duration;

    /**
     * 视屏格式
     */
    @Schema(description = "视屏格式")
    private String format;

    /**
     * 上传时间
     */
    @Schema(description = "上传时间")
    private LocalDateTime createTime;
}
